@extends('admin.layout.form')
{{--如果需要下拉选择组件,请开启下面这一行--}}
{{--@include("widget.asset.select2")--}}

@section('content')
<form class="form-horizontal m" id="form-add">
    <div class="form-group">
        <label class="col-sm-3 control-label is-required">username：</label>
        <div class="col-sm-8">
            <input type="text" name="username" value="" class="form-control" required autocomplete="off"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label is-required">性别：</label>
        <div class="col-sm-8">
            <input type="number" name="sex" value="" class="form-control number" required autocomplete="off"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label is-required">出生日期：</label>
        <div class="col-sm-8">
            <input type="text" name="birth" value="" class="form-control time-input" required autocomplete="off" data-type="datetime"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label is-required">专业：</label>
        <div class="col-sm-8">
            <input type="text" name="major" value="" class="form-control" required autocomplete="off"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label is-required">联系方式：</label>
        <div class="col-sm-8">
            <input type="text" name="telephone" value="" class="form-control" required autocomplete="off"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label is-required">技能标签：</label>
        <div class="col-sm-8">
            <input type="text" name="skill_tag" value="" class="form-control" required autocomplete="off"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label is-required">专业技能：</label>
        <div class="col-sm-8">
            <input type="text" name="skill" value="" class="form-control" required autocomplete="off"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label is-required">经验：</label>
        <div class="col-sm-8">
            <input type="text" name="experience" value="" class="form-control" required autocomplete="off"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label is-required">自我评价：</label>
        <div class="col-sm-8">
            <input type="text" name="evaluation" value="" class="form-control" required autocomplete="off"/>
        </div>
    </div>
</form>
@stop

@section('script')
    <script>
        $("#form-add").validate();

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(oasUrl, $('#form-add').serialize());
            }
        }
    </script>
@stop
